package baoxiu.user.api.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.util.Date;

/**
 * @ClassName User
 * @Author mengjiafeng
 * @Date 2019/7/24 16:36
 **/
@Data
public class User {
    @TableId
    private String id;
    private String login_name;
    private String password;
    private String name;
    private String phone;
    private String user_type;
    private String photo;
    private String login_flag;
    private String create_by;
    private Date create_date;
    @TableField(update = "now()")
    private Date update_date;
}
